package co.yixiang.modules.user.domain;

import co.yixiang.domain.BaseDomain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

@Builder
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString
@TableName(value = "yx_user_distributor_relation",autoResultMap = true)
public class YxUserDistributorRelation extends BaseDomain {

    /** id */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 用户id */
    private Long uid;

    /** 用户名 */
    private String username;

    /** 手机号码 */
    private String phone;

    /** 分销商Id */
    private String distributorId;

    /** 分销商名称 */
    private String distributorName;

}
